package cn.windy.samary.module.admin.mapper;

import cn.windy.samary.module.admin.entity.Permission;
import cn.windy.samary.utils.BaseMapper;

import java.util.List;

public interface PermissionMapper extends BaseMapper<Permission> {

    List<String> getIdByPId(String pId);

    int deleteByIdIn(List<String> ids);
}